Interview Questions and Answer
Options:
a. Value
b. Address
c. Value and Address
d. Name of the variable
Reveal Answer
Options:
a. unsafe int ThisMethod(){}
b. unsafe: int ThisMethod() { }
c. int ThisMethod():unsafe { }
d. All of the Above
Reveal Answer
Options:
a. It increase the performance of the Program.
b. We use fixed buffers inside an unsafe context. With a fixed buffer, you can write and read raw memory without any of the managed overhead.
c. It provides a way to interface with memory.
d. All of the above.
Reveal Answer
Options:
a. It increase the responsibility of the programmer to check for security issues and extra developer care is paramount to averting potential errors or security risks.
b. It bypasses security.
c. It also avoids type checking, that can generate errors sometimes.
d. All the above
Reveal Answer
Options:
a. Object
b. String
c. Struct
d. None of the above
Reveal Answer
Options:
a. Variable
b. Datatype
c. Class
d. Struct
Reveal Answer
Options:
a. Prints value only.
b. Prints memory address only.
c. Compiletime error
d. Runtime error
Reveal Answer
Bestdotnet google plus